const router = require('koa-router')({
    prefix: '/client'
});
const commonController = require('./../controllers/client/common');
const transactionController = require('./../controllers/client/transaction');
const bancorController = require('./../controllers/client/bancor');


router
    .all('*', commonController.accessMid)
    .get('/transaction/list', transactionController.transactionList)
    .get('/bancor/list', bancorController.bancorList)

    ;

module.exports = router;